package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @descriptions: 测试Linux部署项目
 * @author: Xin.Z
 * @date: 2022/5/20 16:54
 * @version: 1.0
 */
@Controller
public class TestController {

    @GetMapping("/test")
    public String test(){
        System.out.println("这是测试Linux");
        return "Test Success!";
    }

    @GetMapping("/show")
    public String show(){
        System.out.println("测试Linux的show方法");
        return "Success!!!";
    }
}
